import os, re, sys
pj = os.path.join
from pyplusplus import module_builder
import pygccxml
import pygccxml.declarations as pd
import pyplusplus.module_builder.call_policies as cp
import pygccxml.declarations.type_traits as tt

mb = module_builder.module_builder_t(["Classes.h",],
                                     working_directory = ".")

mb.global_ns.exclude()
test_ns = mb.global_ns.namespace( 'test_ns', recursive=False )
test_ns.include()

#Now it is the time to give a name to our module
mb.build_code_creator(module_name='_test')

# So we don't have absolute paths in code
mb.write_module( 'bindings.cpp')


